//医院相关api封装
import request from "../utils/request";

const base_api = '/api/hosp/hospital'
export default {
  //查询医院列表
  getPageList(page,limit,searchObj){
    return request({
      url: `${base_api}/${page}/${limit}`,
      method:'get',
      params:searchObj
    })
  },
  //根据医院名称模糊查询
  getByHosname(hosname){
    return request({
      url:`${base_api}/findByHosname/${hosname}`,
      method: 'get',
    })
  }
}
